package Demo;

public class Test {
    public static void main(String[] args) {
        int x=10;
        Thread t=new Thread(()->{
            //x+=1;
            System.out.println(x);
        });
    }
}
